"use strict";
// let obj = {
//     name:'122'
// }
;
var p = { title: '香蕉', price: 4, num: 2 };
var list = [
    { title: '香蕉', price: 4, num: 2 },
    { title: '苹果', price: 4, num: 2 },
    { title: '葡萄', price: 4, num: 2 }
];
function add(blog) {
    //调发表博客的接口
}
add({ title: '什么时候开学', con: '具体也不知道', username: 'lili' });
//添加用户
function addUser(user) {
}
addUser({ username: 'ss', phone: 1821212, address: '河北省' });
var compare = function (num1, num2) {
    return num1 > num2;
};
compare(3, 1);
var Cat = /** @class */ (function () {
    function Cat(name) {
        this.name = name;
    }
    Cat.prototype.eat = function (thing) {
        console.log(this.name + "\u5403" + thing);
    };
    return Cat;
}());
var cat = new Cat('无毛猫');
var Dog = /** @class */ (function () {
    function Dog(name) {
        this.name = name;
    }
    Dog.prototype.eat = function (thing) {
        console.log(this.name + "\u5403" + thing);
    };
    return Dog;
}());
cat.eat("鱼");
var square = { color: 'red', width: 80, height: 80 };
